; Music of New Zealand Story (1989) (Ocean Software) (Jonathan Dunn)
; Ripped by Megachur the 19/11/2006

	write "NEWZEALT.BIN"

music_date_rip	equ &13b6
music_adr	equ &0100
first_theme	equ 0
last_theme	equ 8

	read "music_header_v1_0.asm"

;&0100
;
.init_music	; 0 -> 8
;
	di
	ld hl,l0728
	ld (hl),#00
	inc hl
	ld (hl),#00
	ld c,a
	add a
	add c
	add a
	add c
	ld c,a
	ld b,#00
	ld hl,l092f
	add hl,bc
	ld a,(hl)
	ld (l0201),a
	inc hl
	ld ix,l0165
	ld c,#25
	ld a,#03
.l0122
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	push hl
	ld (ix+#20),#00
	ld (ix+#21),#00
	ld (ix+#10),#01
	ld (ix+#00),b
	ld (ix+#1d),b
	ld (ix+#1f),b
	ld (ix+#03),e
	ld (ix+#04),d
	ex de,hl
	ld e,(hl)
	inc hl
	ld d,(hl)
	ld (ix+#05),#02
	ld (ix+#06),b
	pop hl
	ld (ix+#01),e
	ld (ix+#02),d
	add ix,bc
	dec a
	jr nz,l0122
	ld (l0483),a
	inc a
	ld (l01d4),a
	ld (l0728),a
	ei
	ret
.l0165
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#09
.l018a
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#12
.l01af
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#24
.l01d4
	db #00
;
.play_music	; 01d5
;
	call l077b
	ld a,(l0728)
	and a
	jp z,l0231
.l01e0 equ $ + 1
	ld a,#00
	ld (l022d),a
	ld hl,l01d4
	dec (hl)
	jr nz,l0205
	ld b,(hl)
	ld ix,l0165
	call l0381
	ld ix,l018a
	call l0381
	ld ix,l01af
	call l0381
.l0201 equ $ + 1
	ld a,#01
	ld (l01d4),a
.l0205
	ld ix,l0165
	call l0450
	ld (l0561),hl
	ld (l0569),a
	ld ix,l018a
	call l0450
	ld (l0563),hl
	ld (l056a),a
	ld ix,l01af
	call l0450
	ld (l0565),hl
	ld (l056b),a
.l022d equ $ + 1
	ld a,#00
	ld (l0567),a
.l0231
	ld a,(l0729)
	and a
	jr z,l0261
	ld hl,(l056e)
	ld (l0561),hl
	ld hl,(l0572)
	ld (l0565),hl
	ld a,(l0574)
;.l0248 equ $ + 2
	ld (l0567),a
	ld a,(l0568)
	or #2d
	ld hl,l0575
	and (hl)
	ld (l0568),a
	ld a,(l0576)
	ld (l0569),a
	ld a,(l0578)
	ld (l056b),a
.l0261
	ld a,(l0728)
	ld hl,l0729
	or (hl)
	ret z
	ld hl,l056c
	ld d,#0b
.l026e
	ld e,(hl)
	ld b,#f4
	out (c),d
	ld bc,#f600
	out (c),c
	ld a,#c0
	out (c),a
	out (c),c
	ld b,#f4
	out (c),e
	ld b,#f6
	add a
	out (c),a
	out (c),c
	dec hl
	dec d
	jp p,l026e
	ret
.l028f
	di
;
.stop_music
;
	xor a
	ld (l0728),a
	ld (l0729),a
	ld (l0569),a
	ld (l056a),a
	ld (l056b),a
.l02a0
	ld de,&0d00
.l02a3
	call l02ad
	dec d
	jp p,l02a3
	ld de,#0000
.l02ad
	ld b,#f4
	out (c),d
	ld bc,#f600
	out (c),c
	ld a,#c0
	out (c),a
	out (c),c
	ld b,#f4
	out (c),e
	ld b,#f6
	add a
	out (c),a
	out (c),c
	ret
;
.jumps_table
;
	db #9f
	db #87
	db #8b
	db #90
	db #4e
	db #7d
	db #78
	db #0f
	db #67
	db #5f
	db #24
	db #0e
	db #36
	db #8c
	db #04
	db #99
	db #9e
	db #a3
	pop hl
	jp l028f
	jp l06b3
	ld a,(ix+#24)
	ld c,a
	and #07
	ld hl,l052c
	xor (hl)
	and c
	xor (hl)
	ld (hl),a
	ld a,#01
	ld (ix+#1e),a
	jp l038f
	ld a,(ix+#24)
	ld c,a
	and #38
	ld hl,l052c
	xor (hl)
	and c
	xor (hl)
	ld (hl),a
	xor a
	ld (ix+#1e),a
	jp l038f
	ld hl,l052c
	ld a,(ix+#24)
	cpl
	and (hl)
	ld (hl),a
	ld a,#01
	ld (ix+#1e),a
	jr l038f
	ld a,(de)
	inc de
	ld (ix+#07),b
	ld (ix+#08),b
	ld (ix+#0d),a
	set 2,(ix+#00)
	ld a,(de)
	ld (ix+#0e),a
	inc de
	jr l038f
	ld a,(de)
	inc de
	ld (l0483),a
	jr l038f
	ld a,(de)
	ld (ix+#1b),a
	inc de
	ld a,(de)
	ld (ix+#1a),a
	inc de
	ld (ix+#1c),a
	jr l038f
	set 7,(ix+#00)
	set 3,(ix+#00)
	jr l038f
	ld (ix+#1d),b
	jr l038f
	ld (ix+#1d),#40
	jr l038f
	ld (ix+#1d),#c0
	jr l038f
	set 1,(ix+#00)
	jr l038f
	ld (ix+#13),b
	res 5,(ix+#00)
	jr l03cd
	res 5,(ix+#00)
	jr l03cd
	ld (ix+#1f),#ff
	jr l038f
	ld (ix+#1f),b
	jr l038f
.l0381
	dec (ix+#10)
	jr nz,l03ea
	ld (ix+#00),b
	ld e,(ix+#01)
	ld d,(ix+#02)
.l038f
	ld a,(de)
	inc de
	and a
	jp m,l03fb
	add (ix+#20)
	ld (ix+#12),a
	bit 0,(ix+#1e)
	jr z,l03a4
	ld (l01e0),a
.l03a4
	ld l,(ix+#09)
	ld h,(ix+#0a)
	ld (ix+#0b),l
	ld (ix+#0c),h
	ld l,(ix+#14)
	ld (ix+#16),l
	ld h,(ix+#15)
	ld (ix+#17),h
	ld a,(hl)
	ld (ix+#18),a
	ld (ix+#13),a
	ld a,(ix+#0f)
	ld (ix+#19),a
	set 5,(ix+#00)
.l03cd
	ld a,(ix+#11)
	ld (ix+#10),a
	ld (ix+#02),d
	ld (ix+#01),e
	ld a,(ix+#1f)
	and a
	jr z,l03e9
	ld a,(l0729)
	and a
	jr nz,l03e9
	ld (ix+#1f),#ff
.l03e9
	ret
.l03ea
	ld a,(ix+#00)
	bit 3,a
	ret z
	rla
	jr nc,l03f7
	inc (ix+#12)
	ret
.l03f7
	dec (ix+#12)
	ret
.l03fb
	cp #b0
	jr c,l0448
	add #20
	jr c,l0429
	add #10
	jr c,l0430
	add #18
	jr nc,l0421
	ld c,a
	ld hl,l063a
	add hl,bc
	ld c,(hl)
	add hl,bc
	ld (ix+#0b),l
	ld (ix+#09),l
	ld (ix+#0c),h
	ld (ix+#0a),h
	jp l038f
.l0421
	add #09
	ld (l0201),a
	jp l038f
.l0429
	inc a
	ld (ix+#11),a
	jp l038f
.l0430
	ld hl,l064b
	add a
	ld c,a
	add hl,bc
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
	ld (ix+#14),l
	ld (ix+#15),h
	dec hl
	ld a,(hl)
	ld (ix+#0f),a
	jp l038f
.l0448
	ld hl,jumps_table-&80	;l0248
	ld c,a
	add hl,bc
	ld c,(hl)
	add hl,bc
	jp (hl)
.l0450
	ld c,(ix+#00)
	bit 5,c
	jr z,l0482
	ld a,(ix+#19)
	sub #01
	ld (ix+#19),a
	jr nc,l047c
	ld a,(ix+#0f)
	ld (ix+#19),a
	ld l,(ix+#16)
	ld h,(ix+#17)
	inc hl
	ld a,(hl)
	and a
	jp m,l047c
	ld (ix+#16),l
	ld (ix+#17),h
	ld (ix+#18),a
.l047c
	ld a,(ix+#18)
	ld (ix+#13),a
.l0483 equ $ + 1
.l0482
	ld a,#00
	add (ix+#12)
	ld b,a
	ld l,(ix+#0b)
	ld h,(ix+#0c)
	ld a,(hl)
	inc hl
	and a
	jp p,l049c
	ld l,(ix+#09)
	ld h,(ix+#0a)
	and #7f
.l049c
	ld (ix+#0b),l
	ld (ix+#0c),h
	add b
	ld hl,l057a
	ld d,#00
	add a
	ld e,a
	add hl,de
	ld e,(hl)
	inc hl
	ld d,(hl)
	ld l,(ix+#1d)
	bit 6,l
	jr z,l04fd
	ld h,a
	ld b,(ix+#1a)
	sla b
	bit 7,l
	ld a,(ix+#1c)
	jr z,l04c6
	bit 0,c
	jr nz,l04e4
.l04c6
	bit 5,l
	jr nz,l04d6
	sub (ix+#1b)
	jr nc,l04e1
	set 5,(ix+#1d)
	sub a
	jr l04e1
.l04d6
	add (ix+#1b)
	cp b
	jr c,l04e1
	res 5,(ix+#1d)
	ld a,b
.l04e1
	ld (ix+#1c),a
.l04e4
	ex de,hl
	srl b
	sub b
	ld e,a
	ld a,d
	ld d,#00
	jr nc,l04ef
	dec d
.l04ef
	add #a0
	jr c,l04fb
.l04f3
	sla e
	rl d
	add #18
	jr nc,l04f3
.l04fb
	add hl,de
	ex de,hl
.l04fd
	ld a,c
	xor #01
	ld (ix+#00),a
	bit 2,c
	jr z,l0528
	ld b,(ix+#0e)
	djnz l0525
	ld c,(ix+#0d)
	bit 7,c
	jr z,l0514
	dec b
.l0514
	ld l,(ix+#07)
	ld h,(ix+#08)
	add hl,bc
	ld (ix+#07),l
	ld (ix+#08),h
	add hl,de
	ex de,hl
	jr l0528
.l0525
	ld (ix+#0e),b
.l0528
	cpl
	and #03
.l052c equ $ + 1
	ld a,#00
	jr nz,l0539
	ld a,(l01e0)
	xor #08
	ld (l022d),a
	ld a,#07
.l0539
	ld hl,l0568
	xor (hl)
	and (ix+#24)
	xor (hl)
	ld (hl),a
	ld a,(ix+#1f)
	and a
	jp p,l055c
	and #7f
	ld (ix+#1f),a
	ld a,(ix+#24)
	and #38
	xor #ff
	and (hl)
	ld (hl),a
	ld a,#41
	ld (l022d),a
.l055c
	ex de,hl
	ld a,(ix+#13)
	ret
.l0568 equ $ + 7
.l0567 equ $ + 6
.l0565 equ $ + 4
.l0563 equ $ + 2
.l0561
	db #00,#00,#00,#00,#00,#00,#00,#3f
.l056f equ $ + 6
.l056e equ $ + 5
.l056c equ $ + 3
.l056b equ $ + 2
.l056a equ $ + 1
.l0569
	db #00,#00,#00,#00,#00,#00,#00,#00
.l0578 equ $ + 7
.l0576 equ $ + 5
.l0575 equ $ + 4
.l0574 equ $ + 3
.l0572 equ $ + 1
	db #00,#00,#00,#00,#3f,#10,#00,#10
	db #00
.l057a
	dw #0ef8,#0e10,#0d60,#0c80
	dw #0bd8,#0b28,#0a88,#09f0
	dw #0960,#08e0,#0858,#07e0
	dw #077c,#0708,#06b0,#0640
	dw #05ec,#0594,#0544,#04f8
	dw #04b0,#0470,#042c,#03f0
	dw #03be,#0384,#0358,#0320
	dw #02f6,#02ca,#02a2,#027c
	dw #0258,#0238,#0216,#01f8
	dw #01df,#01c2,#01ac,#0190
	dw #017b,#0165,#0151,#013e
	dw #012c,#011c,#010b,#00fc
	dw #00ef,#00e1,#00d6,#00c8
	dw #00bd,#00b2,#00a8,#009f
	dw #0096,#008e,#0085,#007e
	dw #0077,#0070,#006b,#0064
	dw #005e,#0059,#0054,#004f
	dw #004b,#0047,#0042,#003f
	dw #003b,#0038,#0035,#0032
	dw #002f,#002c,#002a,#0027
	dw #0025,#0023,#0021,#001f
	dw #001d,#001c,#001a,#0019
	dw #0017,#0016,#0015,#0013
	dw #0012,#0011,#0010,#000f
.l063a
	db #04,#04,#09,#0a,#80,#0c,#0c,#0c
	db #00,#00,#80,#0c,#80,#0c,#0c,#00
	db #80
.l064b
	dw l0656,l0667,l0677,l0686
	dw l06a2
.l0656 equ $ + 1
	db #00,#0f,#0e,#0d,#0c,#0b,#09,#08
	db #07,#06,#05,#04,#03,#02,#01,#00
.l0667 equ $ + 2
	db #87,#01,#0f,#0d,#0b,#0a,#09,#08
	db #07,#06,#05,#04,#03,#02,#01,#00
.l0677 equ $ + 2
	db #87,#03,#0f,#0e,#0d,#0c,#0b,#0a
	db #09,#08,#07,#06,#05,#04,#03,#87
.l0686 equ $ + 1
	db #01,#0e,#0f,#0e,#0d,#0c,#0a,#09
	db #08,#07,#06,#07,#06,#05,#06,#05
	db #04,#05,#04,#03,#04,#03,#02,#03
.l06a2 equ $ + 5
	db #02,#01,#00,#87,#04,#0f,#0e,#0d
	db #0c,#0b,#0a,#09,#08,#07,#06,#05
	db #04,#03,#02,#01,#00,#87
.l06b3
	ld c,(ix+#05)
	ld b,(ix+#06)
.l06b9
	ld l,(ix+#03)
	ld h,(ix+#04)
	add hl,bc
	ld a,(ix+#21)
	dec a
	jp m,l06d6
	ld (ix+#21),a
	ld e,(ix+#22)
	ld d,(ix+#23)
	jr nz,l06ed
	inc bc
	inc bc
	jr l06b9
.l06d6
	ld (ix+#20),#00
.l06da
	ld a,(hl)
	inc hl
	ld d,(hl)
	ld e,a
	or d
	jr nz,l06f8
	ld l,(ix+#03)
	ld h,(ix+#04)
	ld bc,#0002
	ld e,(hl)
	inc hl
	ld d,(hl)
.l06ed
	ld (ix+#05),c
	ld (ix+#06),b
	ld b,#00
	jp l038f
.l06f8
	dec de
	ld a,d
	or e
	jr nz,l0709
	inc hl
	ld a,(hl)
	ld (ix+#20),a
	inc hl
	inc bc
	inc bc
	inc bc
	inc de
	jr l06da
.l0709
	dec de
	ld a,d
	or e
	inc de
	inc de
	jr nz,l0724
	inc hl
	ld a,(hl)
	ld (ix+#21),a
	inc hl
	ld e,(hl)
	ld (ix+#22),e
	inc hl
	ld d,(hl)
	ld (ix+#23),d
	inc bc
	inc bc
	inc bc
	jr l06ed
.l0724
	inc bc
	inc bc
	jr l06ed
.l0729 equ $ + 1
.l0728
.music_end
	db #00,#00
	ld hl,l0729
	ld (hl),#00
	ld hl,l0819
	add a
	add l
	ld l,a
	jr nc,l0738
	inc h
.l0738
	ld e,(hl)
	inc hl
	ld d,(hl)
	ld b,#11
	ld hl,l08fd
.l0740
	ld a,(de)
	ld (hl),a
	inc hl
	inc de
	djnz l0740
	ld a,(l08fe)
	ld (l090e),a
	ld hl,(l08ff)
	ld (l056e),hl
	ld de,(l0901)
	ld (l0572),de
	ld a,l
	ld (l0574),a
	ld a,(l0904)
	ld (l0575),a
	ld a,(l0903)
	ld e,a
	ld d,#0c
	call l02ad
	ld a,(l090d)
	ld e,a
	ld d,#0d
	call l02ad
	ld hl,l0729
	inc (hl)
	ret
.l077b
	call l0910
	ld a,(l0729)
	and a
	ret z
	ld a,(l08fd)
	and a
	jr nz,l078f
	ld (l0729),a
	jp l02a0
.l078f
	dec a
	ld (l08fd),a
	ld a,(l090e)
	and a
	jr nz,l07c8
	ld a,(l090b)
	and a
	ret z
	dec a
	ld (l090b),a
	ld a,(l08fe)
	ld (l090e),a
	ld a,(l090c)
	and a
	jr z,l07b1
	ld a,(l092b)
.l07b1
	ld b,a
	ld a,(l08ff)
	add b
	ld (l056e),a
	ld a,(l0900)
	add b
	and #0f
	ld (l056f),a
	ld hl,(l0901)
	ld (l0572),hl
.l07c8
	ld hl,l090e
	dec (hl)
	ld a,(l0909)
	and a
	jr z,l07ef
	jp p,l07e2
	ld hl,(l056e)
	ld de,(l0905)
	add hl,de
	ld (l056e),hl
	jr l07ef
.l07e2
	ld hl,(l056e)
	ld de,(l0905)
	and a
	sbc hl,de
	ld (l056e),hl
.l07ef
	ld a,(l090a)
	and a
	jr z,l0812
	jp p,l0805
	ld hl,(l0572)
	ld de,(l0907)
	add hl,de
	ld (l0572),hl
	jr l0812
.l0805
	ld hl,(l0572)
	ld de,(l0907)
	and a
	sbc hl,de
	ld (l0572),hl
.l0812
	ld a,(l056e)
	ld (l0574),a
	ret
.l0819
	dw l0831,l0842,l0853,l0864
	dw l0875,l0886,l0897,l08a8
	dw l08b9,l08ca,l08db,l08ec
.l0831
	db #07,#03,#20,#00,#17,#01,#1e,#fa
	db #20,#00,#10,#02,#ff,#01,#0a,#00
	db #00
.l0842
	db #0f,#0f,#05,#01,#15,#01,#14,#fa
	db #10,#00,#10,#00,#01,#01,#01,#00
	db #00
.l0853
	db #0a,#0a,#12,#00,#05,#04,#04,#d7
	db #04,#00,#00,#00,#01,#01,#ff,#00
	db #00
.l0864
	db #0f,#0f,#00,#00,#00,#00,#0f,#d7
	db #44,#00,#40,#00,#01,#01,#ff,#00
	db #00
.l0875
	db #0c,#0c,#20,#00,#17,#00,#1e,#fa
	db #20,#00,#10,#00,#ff,#ff,#0a,#00
	db #00
.l0886
	db #18,#0c,#20,#01,#17,#01,#14,#fa
	db #20,#00,#10,#02,#01,#01,#0a,#00
	db #00
.l0897
	db #0f,#0f,#20,#02,#50,#04,#0f,#d7
	db #00,#00,#00,#00,#01,#01,#ff,#00
	db #00
.l08a8
	db #0f,#0f,#40,#02,#42,#02,#09,#d7
	db #01,#00,#01,#00,#01,#01,#ff,#00
	db #00
.l08b9
	db #1e,#02,#00,#00,#00,#00,#1e,#d7
	db #21,#00,#31,#00,#01,#ff,#ff,#ff
	db #00
.l08ca
	db #0c,#06,#00,#00,#00,#00,#0c,#fa
	db #10,#00,#11,#00,#ff,#ff,#0a,#00
	db #00
.l08db
	db #0c,#06,#00,#00,#00,#00,#0c,#fa
	db #40,#00,#51,#00,#ff,#ff,#0a,#00
	db #00
.l08ec
	db #0c,#06,#00,#06,#a0,#05,#0c,#fa
	db #06,#00,#06,#00,#01,#01,#0a,#00
	db #00
.l08fd
	db #00
.l08fe
	db #00
.l08ff
	db #00
.l0900
	db #00
.l0901
	db #00
.l0909 equ $ + 7
.l0907 equ $ + 5
.l0905 equ $ + 3
.l0904 equ $ + 2
.l0903 equ $ + 1
	db #00,#00,#00,#00,#00,#00,#00,#00
.l090e equ $ + 4
.l090d equ $ + 3
.l090c equ $ + 2
.l090b equ $ + 1
.l090a
	db #00,#00,#00,#00,#00,#00
.l0910
	ld a,(l092b)
	and #48
	adc #38
	sla a
	sla a
	ld hl,l092e
	rl (hl)
	dec hl
	rl (hl)
	dec hl
	rl (hl)
	dec hl
	rl (hl)
	ld a,(hl)
	ret
.l092b
	rst #38
.l092e equ $ + 2
	db #00,#36,#68
.l092f
	db #05
	dw l096e,l0977,l0980
	db #05
	dw l0a87,l0a8b,l0a8f
	db #03
	dw l0b8f,l0b85,l0b7b
	db #05
	dw l0d25,l0d21,l0d1d
	db #05
	dw l0dcf,l0dcb,l0dc7
	db #05
	dw l0e80,l0e7c,l0e78
	db #05
	dw l0ebc,l0eb8,l0eb4
	db #05
	dw l0f07,l0f03,l0eff
	db #02
	dw l0f23,l0f1f,l0f1b
.l096e
	dw l0989
	db #01,#00,#f4
.l0977 equ $ + 4
	dw l098c,#0000,l0989
	db #01,#00,#f4
.l0980 equ $ + 4
	dw l09c6,#0000,l0989
	db #01,#00,#f4
	dw l0a05,#0000
.l098c equ $ + 3
.l0989
	db #e0,#80,#87,#8a,#d2,#b8,#88,#02
	db #02,#82,#e7,#48,#47,#45,#47,#d3
	db #81,#b9,#e1,#48,#4a,#e3,#4c,#e1
	db #48,#4a,#e3,#4c,#e1,#41,#41,#40
	db #41,#e7,#80,#e1,#43,#45,#e3,#47
	db #e1,#43,#45,#e3,#47,#e1,#48,#48
	db #47,#48,#e7,#80,#ba,#e5,#80,#e1
.l09c6 equ $ + 5
	db #4f,#e3,#51,#53,#8e,#8a,#d1,#81
	db #b9,#90,#e1,#54,#4f,#51,#4f,#54
	db #4f,#51,#4f,#59,#54,#53,#54,#5b
	db #56,#5b,#56,#54,#4f,#51,#4f,#54
	db #4f,#51,#4f,#4d,#48,#4d,#48,#4d
	db #ba,#59,#e3,#59,#b9,#e1,#4f,#4a
	db #4c,#4a,#4f,#4a,#4c,#4a,#3c,#3c
	db #3b,#3c,#e7,#80,#e5,#80,#e1,#43
.l0a05 equ $ + 4
	db #e3,#45,#47,#8e,#d0,#8a,#b8,#88
	db #02,#02,#82,#90,#e1,#18,#e0,#1e
	db #1f,#e1,#18,#e0,#1e,#1f,#e1,#18
	db #e0,#1e,#1f,#e1,#18,#e0,#1e,#1f
	db #e1,#1d,#e0,#23,#24,#e1,#1d,#e0
	db #23,#24,#e1,#1f,#e0,#25,#26,#e1
	db #1f,#e0,#25,#26,#e1,#18,#e0,#1e
	db #1f,#e1,#18,#e0,#1e,#1f,#e1,#18
	db #e0,#1e,#1f,#e1,#18,#e0,#1e,#1f
	db #e1,#1d,#e0,#23,#24,#e1,#1d,#e0
	db #23,#24,#e1,#1d,#e0,#23,#24,#e1
	db #1d,#e0,#23,#24,#e1,#1f,#e0,#25
	db #26,#e1,#1f,#e0,#25,#26,#e1,#1f
	db #e0,#25,#26,#e1,#1f,#e0,#25,#26
	db #e1,#18,#e0,#1e,#1f,#e1,#18,#e0
	db #1e,#1f,#e3,#18,#e3,#80,#e5,#80
	db #e1,#1f,#e3,#21,#23,#8e
.l0a8b equ $ + 4
.l0a87
	dw l0ade,#0000,l0b2d,#0000
.l0a8f
	dw l0a93,#0000
.l0a93
	db #b8,#e1,#8a,#d0,#88,#02,#02,#82
	db #90,#0c,#24,#10,#24,#13,#24,#07
	db #24,#0c,#24,#10,#24,#13,#24,#07
	db #24,#0c,#24,#10,#24,#13,#24,#07
	db #24,#0c,#24,#10,#24,#13,#24,#07
	db #24,#11,#24,#15,#24,#18,#24,#11
	db #24,#12,#24,#15,#24,#18,#24,#12
	db #24,#0e,#26,#12,#26,#15,#26,#0e
	db #26,#e3,#13,#e6,#80,#e0,#13,#e1
.l0ade equ $ + 3
	db #15,#17,#87,#bb,#8a,#d1,#81,#90
	db #e9,#3c,#e1,#43,#4e,#43,#80,#e0
	db #40,#41,#e1,#43,#e0,#43,#45,#e1
	db #47,#e0,#48,#4a,#e1,#4c,#40,#e9
	db #40,#e1,#40,#41,#43,#80,#e0,#43
	db #45,#e1,#47,#e0,#48,#4a,#e1,#4c
	db #e0,#4d,#4e,#e1,#4f,#43,#e1,#48
	db #45,#48,#45,#48,#45,#47,#48,#48
	db #45,#48,#45,#48,#45,#47,#48,#4a
	db #45,#4a,#45,#4a,#45,#47,#48,#ef
.l0b2d equ $ + 2
	db #43,#87,#b9,#8a,#d3,#81,#e0,#3c
	db #3e,#3c,#3b,#e1,#3c,#37,#37,#37
	db #36,#37,#e1,#80,#48,#48,#48,#48
	db #48,#4a,#4c,#e0,#40,#41,#40,#3f
	db #e1,#40,#3c,#3c,#3c,#3b,#3c,#e1
	db #80,#4c,#4c,#4c,#4c,#4c,#4d,#4f
	db #80,#45,#44,#45,#41,#41,#40,#41
	db #80,#45,#44,#45,#42,#42,#40,#42
	db #80,#3e,#3e,#3e,#3e,#4a,#40,#e3
	db #42,#e1,#43,#42,#43,#e7,#37,#87
.l0b7b
	dw l0b97,l0b97,l0bb9,l0c33
	dw #0000
.l0b85
	dw l0be4,l0be4,l0c08,l0c62
	dw #0000
.l0b8f
	dw l0c94,l0c94,l0cd1,#0000
.l0b97
	db #8a,#d4,#b8,#88,#02,#02,#82,#e7
	db #80,#3c,#80,#37,#80,#3b,#80,#36
	db #80,#36,#80,#39,#80,#3c,#80,#37
	db #80,#3b,#80,#36,#e3,#80,#39,#f7
.l0bb9 equ $ + 2
	db #80,#87,#e7,#40,#e3,#3e,#40,#3e
	db #40,#e7,#3e,#3c,#3c,#3e,#e3,#3c
	db #3e,#3c,#3e,#e7,#3c,#3b,#3b,#40
	db #e3,#3e,#40,#3e,#40,#e7,#3e,#3c
	db #3c,#e3,#3e,#3c,#3e,#40,#3e,#3c
.l0be4 equ $ + 5
	db #e7,#3b,#39,#3c,#87,#8a,#d4,#b8
	db #88,#02,#02,#82,#e7,#3b,#80,#3e
	db #80,#39,#80,#34,#80,#37,#80,#37
	db #80,#3b,#80,#3e,#80,#39,#80,#34
	db #80,#e3,#3b,#80,#ef,#37,#e7,#80
.l0c08 equ $ + 1
	db #87,#e7,#3c,#e3,#3b,#3c,#3b,#3c
	db #e7,#3b,#39,#39,#3b,#e3,#39,#3b
	db #39,#3b,#e7,#39,#37,#37,#3c,#e3
	db #3b,#3c,#3b,#3c,#e7,#3b,#39,#39
	db #e3,#3b,#39,#3b,#3c,#3b,#39,#e7
.l0c33 equ $ + 4
	db #37,#36,#39,#87,#e7,#80,#e3,#3c
	db #80,#e7,#3e,#e3,#80,#36,#e7,#80
	db #3b,#80,#e3,#36,#80,#e7,#37,#80
	db #37,#80,#3b,#e3,#80,#3b,#e7,#80
	db #e3,#37,#80,#39,#80,#e7,#3b,#e3
	db #80,#32,#80,#37,#80,#39,#f7,#80
.l0c62 equ $ + 3
	db #40,#3e,#87,#e7,#3b,#e3,#80,#3b
	db #e7,#80,#e3,#37,#80,#e7,#39,#80
	db #34,#e3,#80,#34,#e7,#80,#36,#80
	db #39,#80,#e3,#3c,#80,#e7,#3e,#e3
	db #80,#34,#80,#34,#e7,#80,#e3,#34
	db #80,#36,#80,#3b,#80,#ef,#37,#e7
.l0c94 equ $ + 5
	db #80,#f7,#3c,#3b,#87,#b8,#e1,#8a
	db #d1,#88,#02,#02,#82,#90,#e7,#1f
	db #e3,#23,#1f,#e7,#26,#1c,#e3,#1e
	db #1c,#e7,#1f,#e7,#18,#e3,#1c,#18
	db #1f,#1c,#e7,#1a,#e3,#1e,#1a,#e7
	db #21,#1f,#e3,#23,#1f,#e7,#26,#1c
	db #e3,#1e,#1c,#e7,#23,#18,#e3,#1c
	db #18,#e7,#1f,#1f,#e3,#23,#1f,#e7
.l0cd1 equ $ + 2
	db #1a,#87,#e3,#18,#1f,#e7,#1c,#1f
	db #e3,#1a,#21,#e7,#1e,#23,#e3,#1e
	db #26,#e7,#23,#26,#e3,#1c,#23,#e7
	db #1f,#23,#e3,#18,#1f,#e7,#1c,#1f
	db #e3,#21,#30,#e7,#1c,#24,#e3,#1a
	db #21,#e7,#1e,#21,#1f,#23,#26,#1f
	db #23,#26,#1c,#1f,#23,#18,#1c,#1f
	db #1a,#1e,#21,#1f,#23,#26,#1c,#1f
	db #23,#18,#28,#2b,#1f,#23,#26,#18
	db #1c,#1f,#1f,#23,#26,#87
.l0d21 equ $ + 4
.l0d1d
	dw l0d2c,#0000,l0d6d,#0000
.l0d25
	dw l0d29,#0000
.l0d2c equ $ + 3
.l0d29
	db #e0,#80,#87,#bb,#8a,#d3,#81,#91
	db #e0,#37,#39,#3b,#3c,#e1,#3e,#e0
	db #37,#39,#3b,#3c,#e1,#3e,#37,#37
	db #e0,#32,#32,#e1,#34,#36,#39,#37
	db #37,#32,#e0,#37,#39,#3b,#3c,#e1
	db #3e,#e0,#37,#39,#3b,#3c,#e1,#3e
	db #37,#43,#43,#e0,#32,#32,#e1,#34
	db #36,#32,#37,#e0,#2b,#2d,#e1,#37
.l0d6d equ $ + 4
	db #e0,#2b,#2d,#87,#b8,#e1,#8a,#d0
	db #88,#02,#02,#82,#90,#e1,#13,#e0
	db #15,#17,#e1,#13,#e0,#15,#17,#e1
	db #13,#e0,#15,#17,#e1,#13,#e0,#15
	db #17,#e1,#0e,#e0,#10,#12,#e1,#0e
	db #e0,#10,#12,#e1,#13,#e0,#15,#17
	db #e1,#13,#e0,#15,#17,#e1,#13,#e0
	db #17,#1a,#e1,#13,#e0,#17,#1a,#e1
	db #13,#e0,#17,#1a,#e1,#13,#e0,#17
	db #1a,#e1,#0e,#e0,#12,#15,#e1,#0e
	db #e0,#12,#15,#e1,#13,#e0,#17,#1a
	db #e1,#13,#e0,#17,#1a,#87
.l0dcb equ $ + 4
.l0dc7
	dw l0dd3,#0000,l0e2d,#0000
.l0dcf
	dw l0e5c,#0000
.l0dd3
	db #bb,#8a,#d3,#88,#02,#02,#82,#91
	db #e1,#80,#e0,#40,#4a,#e1,#80,#e0
	db #40,#4a,#e1,#80,#e0,#40,#4a,#e1
	db #80,#e0,#40,#4a,#e1,#80,#e0,#40
	db #4a,#e1,#80,#e0,#40,#4a,#e1,#80
	db #e0,#40,#4a,#e1,#80,#e0,#40,#f0
	db #4a,#e0,#80,#44,#e1,#45,#e0,#38
	db #44,#e1,#45,#e0,#38,#44,#e1,#45
	db #e0,#38,#44,#e1,#45,#e0,#38,#44
	db #e1,#45,#e0,#38,#44,#e1,#45,#e0
	db #38,#44,#e1,#45,#e0,#38,#44,#f1
.l0e2d equ $ + 2
	db #45,#87,#bb,#8a,#d1,#81,#90,#e1
	db #35,#e0,#34,#3e,#e1,#35,#e0,#34
	db #3e,#e1,#35,#e0,#34,#3e,#e1,#35
	db #e0,#34,#3e,#e1,#35,#e0,#34,#3e
	db #e1,#35,#e0,#34,#3e,#e1,#35,#e0
	db #34,#3e,#e1,#35,#e0,#34,#f0,#34
.l0e5c equ $ + 1
	db #87,#b8,#e1,#8a,#d0,#88,#02,#02
	db #82,#90,#e1,#20,#21,#20,#21,#20
	db #21,#20,#21,#20,#21,#20,#21,#20
	db #21,#20,#f1,#21,#87
.l0e7c equ $ + 4
.l0e78
	dw l0e84,#0000,l0d29,#0000
.l0e80
	dw l0ea0,#0000
.l0e84
	db #b9,#8a,#d1,#91,#81,#e3,#3c,#37
	db #e1,#34,#34,#34,#e3,#32,#d3,#b8
	db #88,#02,#02,#82,#e1,#48,#47,#4a
.l0ea0 equ $ + 4
	db #e3,#48,#80,#8e,#b8,#e1,#8a,#d0
	db #88,#02,#02,#82,#90,#e3,#0c,#10
	db #e1,#13,#11,#10,#0e,#ef,#80,#8e
.l0eb8 equ $ + 4
.l0eb4
	dw l0ec0,#0000,l0d29,#0000
.l0ebc
	dw l0ee3,#0000
.l0ec0
	db #b9,#8a,#d1,#91,#81,#e1,#3c,#3c
	db #e0,#3b,#e1,#3b,#e0,#37,#e1,#39
	db #39,#e0,#37,#e1,#37,#e0,#35,#e1
	db #34,#34,#e0,#32,#e1,#34,#e0,#32
.l0ee3 equ $ + 3
	db #e7,#30,#8e,#b8,#8a,#d0,#88,#02
	db #02,#82,#90,#e1,#0c,#1f,#0b,#1f
	db #15,#1f,#13,#1f,#0c,#1f,#0c,#1f
	db #0c,#13,#0c,#80,#ef,#80,#8e
.l0f03 equ $ + 4
.l0eff
	dw l0f0b,#0000,l0d29,#0000
.l0f07
	dw l0d29,#0000
.l0f0b
	db #8a,#d1,#91,#b8,#88,#06,#02,#82
	db #e1,#48,#47,#4a,#e3,#48,#80,#8e
.l0f1f equ $ + 4
.l0f1b
	dw l0f27,#0000,l0d29,#0000
.l0f23
	dw l0f4d,#0000
.l0f27
	db #b9,#8a,#d1,#91,#81,#e7,#3c,#40
	db #e3,#43,#41,#40,#3e,#e7,#3e,#41
	db #e3,#45,#43,#41,#40,#e7,#40,#43
	db #e3,#48,#47,#45,#43,#e7,#41,#e3
.l0f4d equ $ + 6
	db #40,#41,#e7,#3e,#43,#87,#b8,#8a
	db #d0,#88,#02,#02,#82,#90,#e3,#0c
	db #13,#0c,#13,#0c,#13,#0c,#13,#0e
	db #15,#0e,#15,#0e,#15,#0e,#15,#10
	db #17,#10,#17,#10,#17,#10,#17,#11
	db #18,#11,#18,#13,#1a,#13,#1a,#87

.game_name
	db "New Zealand Story",0
.game_year
	db "1989",0
.game_publisher
	db "Ocean Software",0
.music_author
	db "Jonathan Dunn",0
.music_comment
	db "",0
	
	read "music_end_v1_0.asm"
